import {http} from '../request/index.js';

// 商品分类列表
 export const categoryList = (params) => {
 	return http.get('/api/goods/category',params);
 }
 
 //分类下面的商品
 export const for_category = (params) => {
	 return http.get('/api/goods/for_category',params);
 }
 
 //添加到购物车
 export const addShop = (params) => {
	 return http.post('/api/cart/add',params);
 } 
 
 //改变购物车
 export const addShopchange = (params) => {
	 return http.post('/api/cart/change',params);
 }  